<template>
  <div class="home-page">
    <router-view />
    <van-tabbar v-model="active" route>
      <van-tabbar-item icon="wap-home-o" to="article">首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="collect">找房</van-tabbar-item>
      <van-tabbar-item icon="newspaper-o" to="like">资讯</van-tabbar-item>
      <van-tabbar-item icon="contact" to="user">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "home-page",
  components: {},
  props: {},
  data() {
    return {
      active: 0,
    };
  },
  computed: {},
  watch: {},
  created() {},
  methods: {},
};
</script>

<style scoped></style>
